package com.zpl.order.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zpl.order.entity.Cart;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CartVO extends Cart {
    @ApiModelProperty(value = "标题", required = true)
    private String title;
    @ApiModelProperty(value = "主图", required = true)
    @TableField(value = "main_image")
    private String mainImage;
    @ApiModelProperty(value = "原价", required = true)
    @TableField(value = "original_price")
    private BigDecimal originalPrice;
    @ApiModelProperty(value = "现价", required = true)
    @TableField(value = "now_price")
    private BigDecimal nowPrice;
}
